import db from '../db'

export default id => {
  db.students.where('id').equals(id)
    .modify(person => person.recognized = person.recognized + 1)
}
